package com.yinp.proapp.module.im.adapter;

import androidx.annotation.NonNull;
import androidx.viewbinding.ViewBinding;

import com.yinp.proapp.databinding.ItemMessageTextLeftBinding;
import com.yinp.proapp.databinding.ItemMessageTextRightBinding;

/**
 * @author :yinpeng
 * date      :2021/11/26
 * package   :com.yinp.proapp.module.im.adapter
 * describe  :
 */
public class ImTextViewHolder extends ImMessageViewHolder {
    ItemMessageTextLeftBinding bindingOne;
    ItemMessageTextRightBinding bindingTWo;

    public ImTextViewHolder(@NonNull ViewBinding itemView) {
        super(itemView);
        if (itemView instanceof ItemMessageTextLeftBinding) {
            bindingOne = (ItemMessageTextLeftBinding) itemView;
        }
        if (itemView instanceof ItemMessageTextRightBinding) {
            bindingTWo = (ItemMessageTextRightBinding) itemView;
        }
    }
}
